//
//  ApiViewController.m
//  PhotoDemo
//
//  Created by zxs on 2020/7/3.
//  Copyright © 2020 zxs. All rights reserved.
//

#import "ApiViewController.h"

@interface ApiViewController ()

@property (weak, nonatomic) IBOutlet UIImageView *imageView;

@end

@implementation ApiViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.imageView.userInteractionEnabled = YES;
    UITapGestureRecognizer *singleTap = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(singleTapAction)];
    [self.imageView addGestureRecognizer:singleTap];
}

- (void)singleTapAction {
    NSLog(@"singleTapAction");
}

@end
